package com.owen.springboot.smartparkingms.module.sys.service;

import com.owen.springboot.smartparkingms.common.model.Result;
import com.owen.springboot.smartparkingms.module.sys.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 系统用户 服务类
 * </p>
 *
 * @author Owen
 * @since 2022-02-25
 */
public interface ISysUserService extends IService<SysUser> {

    List<String> listUserRoles(Long userId);

    List<String> listUserPerms(Long userId);

    SysUser getUser(String username);

    Result listPage(SysUser user);

    Result deleteById(Long userId);
}
